/**
 * 用户信息
 */
export interface Session {
  code: string
  createAt: string
  updateAt: string
  gender: string
  id: number
  mobile: string
  name: string
  portrait: string
  roles: string[]
  status: string
  sysUser: SysUser

  [property: string]: any;
}

// 用户数据
export interface SysUser {
  id: number
  name: string
  portrait: string
  mobile: string
}

// 创建者
export interface CreateBy {
  id: number
  name: string
  portrait: string
  mobile: string
}

export interface User {
  id: number;
  name: string;
  portrait: string;
  mobile: string

  [property: string]: any;
}

// 地址
export interface Region {
  code: string
  createAt: string
  depth: number
  id: number
  name: string
  namePath: string
}
